<div class="row">
    <div class="col-sm-12">
        <h4 class="header-title">控制台</h4>
        <div class="row">
            <div class="col-lg-12">
                <div class="m-b-20">
                    <h6 class="font-14 mt-4">操作日志</h6>
                    <p class="text-muted font-13 m-b-20">
                        只展示最新10条记录
                    </p>
                    <table class="table m-0">
                        <thead>
                        <tr>
                            <th width="10%">#</th>
                            <th width="30%">插件</th>
                            <th>动作</th>
                            <th width="30%">发生时间</th>
                        </tr>
                        </thead>
                        <tbody>
                        {% if loginHistory is not empty %}
                        {% for k,v in loginHistory %}
                        <tr>
                            <th scope="row">{{ loop.index }}</th>
                            <td>-</td>
                            <td>{{ v['action'] }}</td>
                            <td>{{ v['created_time'] }}</td>
                        </tr>
                        {% endfor %}
                        {% else %}
                        <tr><td colspan="4"></td></tr>
                        {% endif %}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
